package com.qdu.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qdu.entity.Administrators;
import com.qdu.mapper.AdministratorsMapper;
import com.qdu.service.AdministratorsService;
@Service
public class AdministratorsServiceImpl implements AdministratorsService{
@Autowired
private AdministratorsMapper adminmapper;
	@Override
	public Administrators getOneByAid(String Aid) {
		// TODO Auto-generated method stub
		return adminmapper.getOneByAid(Aid);
	}

	@Override
	public Administrators getAlladmin() {
		// TODO Auto-generated method stub
		return adminmapper.getAlladmin();
	}

}
